package com.zzyl.dto;

import lombok.Data;

import java.util.Objects;

@Data
public class ResourceListDTO {
    private String resourceType;
    private String  parentResourceNo;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ResourceListDTO that = (ResourceListDTO) o;
        return Objects.equals(resourceType, that.resourceType) && Objects.equals(parentResourceNo, that.parentResourceNo);
    }

    @Override
    public int hashCode() {
        return Objects.hash(resourceType, parentResourceNo);
    }
}
